package gdou.gym.entity;

import gdou.gym.vo.SpaceAndTimeVo;

public class Space {
    private String no;

    private String name;

    private String site;

    private Double cost;

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no == null ? null : no.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getSite() {
        return site;
    }

    public void setSite(String site) {
        this.site = site == null ? null : site.trim();
    }

    public Double getCost() {
        return cost;
    }

    public Space(SpaceAndTimeVo vo) {
        this.no=vo.getNo();
        this.name=vo.getName();
        this.site=vo.getSite();
        this.cost=vo.getCost();
    }


    public Space() {
    }

    public void setCost(Double cost) {
        this.cost = cost;
    }
}